<form class="layui-form search-form">
    <div class="layui-input-inline">
        <input class="layui-input" name="date" placeholder="请选择领取时间" type="text" readonly="" id="test"/>
    </div>
    <button class="layui-btn layui-btn-sm" lay-filter="searchform" lay-submit="">
        <i class="fa fa-search">
        </i>
        查询
    </button>
</form>
<table class="layui-table data-table" lay-filter="data_table">
</table>
<script id="toolbar_normal" type="text/html">
    <a class="layui-btn layui-btn-xs" lay-event="edit">
        <i class="fa fa-edit">
        </i>
        编辑
    </a>
    <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">
        <i class="fa fa-trash-o">
        </i>
        删除
    </a>
</script>
{load href="__module__/before/coupon_get/index.js" /}
<script>
       layui.use('laydate', function(){
      var laydate = layui.laydate;
      
      //执行一个laydate实例
      laydate.render({
        elem: '#test' //指定元素
      });
    });
    </script>
